package com.zhenglide.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@TableName("emp")
@Data
/*@KeySequence(value="emp_seq",clazz=Integer.class)*/
@KeySequence(value="myOracleKeyGenerator",clazz=Integer.class)
public class Emp {
    @TableId(value = "emp_id" ,type= IdType.ID_WORKER)
    Integer empId;
    @TableField("emp_name")
    String empName;
    @TableField("emp_dep")
    String empDep;
}
